using System; 
using System.Collections.Generic; 
using System.Text; 
using FluentNHibernate.Mapping;

namespace Zeus.Biz.DomainModel.NHib.Northwind {
    
    
    public class SalesTotalsByAmountMap : ClassMap<SalesTotalsByAmount> {
        
        public SalesTotalsByAmountMap() {
			Table("Sales Totals by Amount");
			LazyLoad();
			CompositeId();
			Map(x => x.SaleAmount).Column("SaleAmount");
			Map(x => x.OrderID).Column("OrderID").Not.Nullable();
			Map(x => x.CompanyName).Column("CompanyName").Not.Nullable().Length(40);
			Map(x => x.ShippedDate).Column("ShippedDate");
        }
    }
}
